]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
bluetooth: Actually add the menu item to the bluetooth menu
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 21 Sep 2013 16:57:41 +0000 (12:57 -0400)
committerBastien Nocera <hadess@hadess.net>
Sun, 22 Sep 2013 20:22:49 +0000 (22:22 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=708541

js/ui/status/bluetooth.js

index 94ce0c4c03b3d09e0f2870e7fdeba95d11a53193..6c9e4064a0cf54eff2d2a9d9387dbf6cb7c3bebd 100644 (file)
@@ -31,6 +31,7 @@ const Indicator = new Lang.Class({
             this._applet.killswitch_state = GnomeBluetooth.KillswitchState.SOFT_BLOCKED;
         }));
         this._item.menu.addSettingsAction(_("Bluetooth Settings"), 'gnome-bluetooth-panel.desktop');
+        this.menu.addMenuItem(this._item);
 
         this._applet = new GnomeBluetoothApplet.Applet();
         this._applet.connect('devices-changed', Lang.bind(this, this._sync));